﻿using System.Linq;
using Safal.IncidentTracker.Domain.Entities;

namespace Safal.IncidentTracker.Domain.Abstract
{
    public interface IIncidentsRepository
    {
        IQueryable<Incident> Incidents { get; }
        void SaveIncident(Incident incident);
        void DeleteIncident(Incident incident);
    }
}
